/**
 * 
 */
package com.cplsystems.incidencias.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cplsystems.incidencias.business.TipoNomina;
import com.cplsystems.incidencias.dao.TipoNominaDAO;

/**
 * @author César Palalía López (csr.plz@aisa-automation.com)
 * 
 */
@Service
public class TipoNominaService {

	@Autowired
	private TipoNominaDAO tipoNominaDAO;

	public List<TipoNomina> getAll() {
		return tipoNominaDAO.getAll();
	}

	public void delete(TipoNomina tipoNominaSeleccionada) {
		tipoNominaDAO.delete(tipoNominaSeleccionada);
	}

	public void save(TipoNomina tipoNomina) {
		tipoNominaDAO.save(tipoNomina);
	}

}
